Quickly switch context from main view

Fix issue #335