Adds API v16 support and AM/PM toggle

Fixes the refresh bug of the last commit, adds AM/PM toggle when system
time is in 12 hour time format.