Add tick action in the context. This will be used to execute periodic tasks and to repaint the views.