Deactivating not working buttons