fix activate button to click once