Fixed overlay flow
code cleanup
Merge branch 'dev' of https://github.com/Xinchi/CU-App into dev