[frontend] Clean app based on rubocop suggestions