add button toggle and initial states to track/untrack button