implemented reset button
implemented enable and hide of pic buttons