Restore view from the loaded project

serialize current view id and open the corresponding view after loading project