added a switchable toolbar with buttons