(Assignment 6 Tasks 2 and 7) Adds iPad functionality.