Swapped app_id and dest_id in applicationUpdated

Trying to swap the two app_ids to fix error.
Cleaned up iwdp_on_applicationUpdated()