Removed checkstyle restricting method length
Added logic to handle long click events showing a contextual menu