Update library.php

- Unified button layout
- Variable $accesses now gets data from getReferenceData
- Variable onlineContentPreferredQuality now gets data from getReferenceData
- Introduced onlineFeedTypes with variable $feedTypes which now gets data from getReferenceData