Adding button to select code snippet

Resolves #52