Uncommented the onResume so adding works properly again