When there are more than one notifications at the same time, extras are overwrited, so the message that arrives to the ECM callback is the message of the last notification. Solved by changing the flag of the intent and the second parameter of the getActivity method.

Also now notId can be a double (although it is parsed to int).