Added timer to QT application