Bug fix

Only can use buttons if selected