Coupling of nanoantennas in loss-gain environment for application in active tunable metasurfaces