Fix clock crash when adding new location