fixed notification generation and button switching on action page