fix alert in ipad
update ui
update for iOS7