Pushed function for tracking button