Change layer now works properly