Code refactor, improve the readability, add group by chat feature of android notification.