Introduced a check for saved lecture id in voting activity.