Get & set settings to localStorage Using if/else statement in beforeCreate lifecycle hook insted of using in vuex store mutation