Change hardcoded event name by its constant.