I want to add a tap event to a Container.

The following solution works outside sencha architect:

HTML Code:
listeners: {
    tap: { 
       element: 'element',     
       delegate: '#test',      
       fn: function(e) {           
            alert('Element with id "test" was tapped!');        
} }

But I couldn't figure out how this works with Sencha Architect. If I open up the architect after adding the code it will erase my changes. Why?

How to add this in Sencha Architect?