Clean up MainActivity

Signed-off-by: TAurelien <aurelien.ticot@gmail.com>