Fix application applicationType being updated