Added key codes in app energy analysis