Fixed errors and refactored editing of always allowed list. Added separate view for alerts in main layout. Added comments into base classes for correct auto complete.