Perform indent/outdent on button click