Check if submitted before returning selectedAction