Implemented AJAX correctly and UI changes on collect button