Changes before theme changed