Implementation of generic alert setting (final)