switch links to buttons