refactor switch room, update from hao's comp originally
Merge pull request #5 from shengnan/AR_refactor_switch_room

refactor switch room, update from hao's comp originally