removed "tap" event and added click instead