clicking buttons in device