Fix addApp function to append to app_commands