Added a check for empty milestone title

Added a check, if milestone name is empty, insert Untitled milestone as name. Do I need a test for this one?