Speeding up ui app.