Removed unused vars, removed authorization objects
Moved creating and processing of cache to SelectedContentCache.java
Check for dirty state of cache
Invalidate the cache so it will be generated on the next view of the application