Alert messages container usage clean up

- Changed alert message container method usage to less complex one.