Set time when shortcuts clicked.