Check for cahnges before leaving and premopt user