added button for stop music and fixed a little the input validation