changed menu buttons to toggle buttons