Fix to issue number 1
Fix to issue number 1

Added a check for if the response is undefined or null (could happen if
no internet connection).

yetixxx83/YouTweak,Mattie432/YouTweak,Mattie432/YouTweak,Mattie432/YouTweak,yetixxx83/YouTweak,yetixxx83/YouTweak