Finished refactoring register screen for ios7.