Some moving around in Recent-controller.php

Signed-off-by: emanuele <emanuele45@gmail.com>
If not used, better not use $context

Signed-off-by: emanuele <emanuele45@gmail.com>
Reduce use of ternary

Signed-off-by: emanuele <emanuele45@gmail.com>