fixed the onResume() issue

Signed-off-by: Salim Dabdoub <sdabdoub6@gatech.edu>