Since you are repeating the same thing for all three notifications you could create a helper method.