Turned base watch face activity into a library, added screen dim listener.