refresh main view after selection