badge and check now button functionality