Swift: working Timer checking for "sudo" in Teminal title