Glad you got the first issue sorted, I understand setup issues can be annoying and tedious to resolve.
As for your second issue, the reason is types. For some reason (?) you're defining your areas as single element arrays. Not sure why! As a result, when you call '.contains' on the array, java doesn't know what to do as arrays do not have a .contains method in this context. You'll either need to unwrap the value and then call contains, or even simpler: change your area definition to an Area rather than an Area[].
Good luck!
Apa