handle badge click while another activity is open

When another activity is open and user clicks on badge button, it
closes that activity and brings the home challenges screen up.