Fix bug when was selected project on the top page

fixed #345