Pushed new images and fixed the null pointer exception in database handler