Fix #7

method called twice, left only call in onResume