Sync themedaemon code with Jolla Components.