Replaced static Toast Handlers by using callbacks.