Fixed logout crash problem, changed parent in manifest