Added Observer pattern with FanViewListener interface. Get notified whenever the view opens or closes