Modify to iOS7