showAlert True, if an alert must be shown to the user instead of a toast notification
final bool showAlert;