Delete works

Sometimes stuff wont work after changing page - think it have something
to do with the if(appview) appview.remove()