changes button actions