Resolved NPE on relaunch

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>