Code reformat and iPad settings