Changed parameters of show notification from strings to object.