Fix a problem with the id of the new Homework, this solve the last crash.
Fix a crash, when you use LongClick and OnClick, get data of the view, and the view has visibilite GONE, so.. CRASH!