Null pointer Exception : Activity Indexing schduler