implemented back action on tap