image preview, backbutton disabling now working