Custom time bar as a component

There is an event bus pattern, but it looks like the implementation isn't finished yet. So I used the "events mechanism". Double-check it please, as I don't know whether it's used properly.