Changed clear cache method

- Cleaned Constants getters and setters
- Fixed no endpoint bug
- Webviews will now clear their cache on a restart app command

Signed-off-by: Anders Bech Mellson <anders@bechmellson.com>