Fixed Null Pointer Exception, when Tab Change