Controller revised

Controller checks if view has changed