Corrected flake8, corrected bug on select all

Signed-off-by: David Saradini <david.saradini@me.com>