Small Fixes

Fixed settings not being fetched correctly.
Fixed detection of calendar page (broken due to website changes.)