Adding Threading into controller in order to not freeze displayer