Handle (save & restore) state of view. Add getters and setters