modified switching buttons