add longClick method for view