Fixed Project Application null pointer exception