This piece of code can be used to perform an action on long click of a button