Removed unused code from view class

And removed the two unused buttons on the interface