widget: Small refactor
Break out the tick cb management into functions, since we will be calling this in more than one place in the future.
Break out the tick cb management into functions, since we will be calling this in more than one place in the future.