Fixed alignment problem
Added device defaults button functionality
Moved default device values to a separate method