tidy-er alerts
setMode function
refactoring room-tab