Filter out empty strings when add text