Added showOnRequestSuccess method in order to keep the loader visible after the request has finished. Useful when needing to process a response.