Remove the need for a delay by using the correct ext.js event