Flash Bagde notification

@ ralphbean i have done some changes so that a user get flash a notification about the badge he had received after scanning the QR-Code before getting redirected to home page at first place. Also he will get notification when he tries to add the same badge which he already have.Here is a snapshot of that https://i.troll.ws/c224b1b1.png