Added ability to toggle application cache and override number of days for sync warning