Stops the current activity.