working on selected press
some refactoring and code style
some more refactoring and preloading