iPhone clean up and ui optimization