implemented switching and enabling/disabling buttons within stamp tool; this might not be the final solution