Make applications list and dependencies list consistent. Close #241