Fix flash message string not showing when adding new assignment