prevent button spam on desktop version