set defaultLocation when statup
improved button