fix ipad issue where buttons remain grey after clicking