Try to fix nullpointer on close fragment