How to create and change your own 'state' whenever you need