add the settings part for showing date and am/pm in active display --thanks to @0xD34D