Effects of interactions on the relaxation processes in magnetic nanostructures