fixed nullPointerException on landscape layout of RegisterActivity