making templates more customizable, fixing a bug with changing selection manually by typing in the time.