Clear HashMaps after preconditions are met

In `CaldroidFragment` I moved the code to clear the HashMaps to after the preconditions are met for the incoming arguments.