Added toasts for masterlist update.

Added a function to simplify the code.