Reduced redundancies in onclicklisteners. Split operators and numbers
into separate gridviews.