Refactors button click event completely
Implements AJAX jQuery request