Avoid clock carousel index-out-of-bound exception

1. Avoid jump to index when index out of bound
2. Set selected clock when setting up the clock carousel
3. This also resolves a problem that there's a delay when selecting an
   index. Since when setting up the clock carousel, we already know
   which index is selected.

Test: Manually tested there's no crash. See bug.
Bug: 289050926
Change-Id: Ib842b321bb3a29ce55789408a3a493a7dbb9367d
7 files changed