Changed am/pm to toggle