buttons to tabs