Fixed directive to set screen on refresh (bound to event listener)