Added call to notifyDataSetChanged to stop potential crashes.