Added Activate Button functionality