Assignment 5: Refreshing enabled for iPad and iPhone