working with buttom on tablet divece