quick fix to admin switch gui - was closing whole application on failed admin switch