Fixed router view binding

The the views were never dealloced, so deleting tried to delete already
deleted items.
Merge branch 'bugfix/DeleteMedium' into dev