Cookie Usage to Store Settings

Now we can store the settings locally using local storage
It is still made optional so user can decide if settings should be
stored or not