Add 'dark theme on battery saver' option, and update libraries
