Organize the code
Time is now chooseable in the tephigram view