Adding button to select code snippet