Fixed input buttons on pretty clock and made it save its settings across reboots.

Mostly stolen from https://badge.team/projects/pretty_clock