remove extra unused templates and hide file picker when not in "home" view