prevent tap triggering more than once