1. A computer implemented method for customizing an alarm for a user, comprising: collecting, by one or more processor, user data from the user; analyzing a context of an event from the user data, wherein the event comprises one or more actions; identifying subsequent actions of the event based on the context of the event and participants of the event; creating one or more context-personality-cognitive state (CPC) mapping; adding the one or more CPC mapping to a knowledgebase by machine learning; predicting a first cognitive state of the user by use of the knowledgebase; and generating an alarm for a first subsequent action based on the predicted first cognitive state of the user and notifying the generated alarm to the user.