change gravity and charge on click