adding multipress/longpress functionalities