Quitting smoking apps that help you acknowledge your triggers work better, study shows