Noticed server sends color before starting game so changed code to avoid
null pointer exception