What is above? If you have room, remove the pancake box completely and put in a new one (ideally deeper) but at the minimum the same type.
Also, for some reason I thought you were from the UK, don't they use different colors for their wiring ? This is a sincere question , my in-laws always...