Added processing and cleaning button functionality