Gets new snippet on button press