Integration of sensors with view pager, deletion of unncessary files