Added a success message for the preferences screen