Change hardcoded events names by its constant.