added hooks to change UI for closed and paused status