Moved SLA buttons into their own function.