add button class to back button in queries show