NXP-11235: fix duplicate action ids issues when tasks content view are not of the same type + improve ajax interactions