Revert "Framework: Rewrite Quiet Hours (2/3)" for now

This reverts commit af1238904e8cdad4b8bc3b31f2a357e1a09525ff.
fix the build