change view and search