changed alg. of selection current lesson

Signed-off-by: sareth <sareth@sareth-pc>