Fixed interface issues and buttons' functions

Fixed interface issues and buttons' functions