Changing gravity by using the acceleration sensor